import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class App {
	public static void main(String[] args){
		int [] totals;
		totals = new int[19];
		int temp;
		
		//Dice rolls test
		for(int dice1 = 1;dice1 <= 6;dice1++){
			for(int dice2 = 1;dice2 <= 6;dice2++){
				for(int dice3 = 1;dice3 <=6;dice3++){
					temp = dice1+dice2+dice3;
					totals[temp]++;
				}
			}
		}
		for(int i = 0; i < totals.length - 1;i++){
			System.out.println("Number "+i+": "+totals[i]);
		}
	}

}
